<?php

namespace app\admin\model;

use app\common\model\TimeModel;

class SystemWxUser extends TimeModel
{

    protected $name = "system_wx_user";

    protected $deleteTime = "delete_time";

    
    public function systemIdentity()
    {
        return $this->belongsTo('\app\admin\model\SystemIdentity', 'identity_id', 'id');
    }

    
    public function getSystemIdentityList()
    {
        return \app\admin\model\SystemIdentity::column('identity', 'id');
    }

}